#ifndef MAIN_H
#define MAIN_H

#include <SFML/Graphics.hpp>
#include <unistd.h>
#include "globals.h"
#include "State.h"

using namespace sf;
using namespace std;

class App {
public:
    App();
    ~App();

    int start();

private:
    void changeState(PossibleState nextState);

    RenderWindow* window;
    State*        currentState;
};

#endif
